package com.kede.app.repository;

import com.kede.app.domain.LeescoreGoodTypeIds;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.transaction.annotation.Transactional;

/**
* @author Pr.li
* @date 2023-05-27
**/
public interface LeescoreGoodTypeIdsRepository extends JpaRepository<LeescoreGoodTypeIds, Integer>, JpaSpecificationExecutor<LeescoreGoodTypeIds> {

    @Transactional
    void deleteAllByGoodId(Integer goodId);

}